﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
using Siren.MFE.Bll.Import;
using Siren.MFE.WebApplication.App_Code;
using Siren.MFE.Bll.SirenField;
using System.Collections.Generic;

public partial class ImportFile : PageBase
{

    protected void Page_Load(object sender, EventArgs e)
    {
        
        //ValidateSession();
    }

    protected void btnImportTxtToSql_Click(object sender, EventArgs e)
    {
        String strfilepath = Server.MapPath("~/Files/TextFile/VBCodeTreefile.txt");

        ImportMgr objImportMgr = new ImportMgr(GetConnectionString);

        objImportMgr.Import(strfilepath);

    }
}
